* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.position-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
}

.container {
  --height: 20vh;
  --progress: 0;

  width: 100%;
  height: var(--height);
  position: relative;
  overflow: hidden;

  .inner {
    width: 200%;
    height: calc(var(--height) * 2);
    background-color: #2f2f2f;
    border-radius: 50%;
    overflow: hidden;

    .circle {
      width: calc(var(--height) * 6.5);
      height: calc(var(--height) * 6.5);
      border-radius: 50%;
    }

    .circle-bottom {
      bottom: 12%;
      overflow: hidden;
      padding: 25% 15% 0 15%;
      background-color: #535353;

      .circle-mask {
        width: calc(var(--progress) * 1%);
        height: 100%;
        background-image: linear-gradient(
          to right,
          rgba(31, 231, 236, 0.3),
          rgba(31, 231, 236, 0.7)
        );
        transition: all 0.3s ease-in-out;
      }
    }

    .circle-top {
      background-color: #2f2f2f;
      bottom: 13%;
      padding: 27% 15% 0 15%;

      color: #fff;
      display: flex;
      justify-content: space-around;
      align-items: flex-end;
    }

    .circle-main {
      width: calc(var(--height) * 6.5);
      height: calc(var(--height) * 6.5);
      border-radius: 50%;
      transition: all 0.3s ease-in-out;
      transform: translateX(-50%) rotate(0deg);

      .item {
        --rotate: 0;
        position: absolute;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: flex-end;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(calc(var(--rotate) * -1deg));

        .item-inner {
          display: flex;
          flex-direction: column;
          align-items: center;
          position: relative;
          bottom: -30px;
          font-size: 14px;
          color: #ccc;

          .point {
            width: 7px;
            height: 7px;
            background-color: #fff;
            border-radius: 50%;
            margin-top: 4px;
            box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);

            &::before {
              content: "";
              width: 12px;
              height: 12px;
              border-radius: 50%;
              position: absolute;
              top: 50%;
              left: 50%;
              transform: translate(-50%, -50%);
            }
          }

          .label-bottom {
            margin-top: 5px;
          }
        }

        .active {
          .point {
            background-color: rgba(31, 231, 236, 1);

            &::before {
              background-color: rgba(31, 231, 236, 0.3);
            }
          }
        }
      }
    }
  }
}
